<template>
	<view>
		<view class='screen_wrap'>
			<view class='screen_item' @click="check_dem(1)">
				<view class='text'>职位</view>
				<image class='icon' src="/static/icon5.png"></image>
			</view>
			<view class='screen_item' @click="check_dem(2)">
				<view class='text'>学历</view>
				<image class='icon' src="/static/icon5.png"></image>
			</view>
			<view class='screen_item' @click="check_dem(3)">
				<view class='text'>经验</view>
				<image class='icon' src="/static/icon5.png"></image>
			</view>
			<view class='screen_item' @click="check_dem(4)">
				<view class='text'>薪资</view>
				<image class='icon' src="/static/icon5.png"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		props:{
			
		},
		methods:{
			// 选择
			check_dem(index){
				this.$emit("checkDem",index)
			},
		}
	}
</script>

<style lang="scss">
	.screen_wrap{
		display: flex;
		flex-direction: row;
		padding: 10rpx 32rpx;
		background: #fff;
		.screen_item{
			flex: 1;
			margin-right: 114rpx;
			display: flex;
			flex-direction: row;
			align-items: center;
			&:last-child{
				margin-right: 0;
			}
			.text{
				width: 56rpx;
				height: 40rpx;
				font-size: 28rpx;
				font-weight: 400;
				line-height: 40rpx;
				color:rgba(121,133,148,1);
				margin-right: 10rpx;
			}
			.icon{
				width: 20rpx;
				height: 20rpx;
			}
		}
	}
</style>
